package mn.idax.exchange.otc.service;

import mn.idax.exchange.otc.domain.OTCArbitrationJudgeRequest;
import mn.idax.exchange.otc.domain.OrderChangeDTO;
import mn.idax.exchange.otc.entity.OTCArbitration;
import mn.idax.exchange.otc.entity.OTCArbitrationDetail;
import mn.idax.exchange.otc.entity.OTCOrder;

import java.util.Date;
import java.util.List;

/**
 * Create by shihaiming on 2018/8/15
 */
public interface OTCArbitrationService {

	void add(OTCArbitration otcArbitration, OTCArbitrationDetail otcArbitrationDetail, OrderChangeDTO orderChangeDTO,boolean isBuyer,OTCOrder otcOrder);

	boolean pushJudgeInfo(OTCArbitrationJudgeRequest judge);

	String showDetail(Integer userId , OTCArbitrationJudgeRequest judge);

	OTCArbitration getOTCArbitration(Integer userId,Integer orderid);

	//获取已过36小时的仲裁订单
	List<OTCArbitration> getNeedJiGuangPush(Date utcNow);
}
